package com.eastcode.dictionary.entity;

import java.util.Date;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Cached;

/**
 * 数据字典明细类
 * 
 * @author 王一进
 * 
 */
@Cached
public class DictionaryDetail {

	// 主键
	@Id
	private Long id;

	// 字典类型
	private String type;

	// 数据编码
	private String code;

	// 字典内容
	private String name;

	// 字典状态
	private int state;

	// 排序
	private int orderCode;

	// 创建时间
	private Date createTime;

	// 更新时间
	private Date updateTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public int getOrderCode() {
		return orderCode;
	}

	public void setOrderCode(int orderCode) {
		this.orderCode = orderCode;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}